TEC\Tickets\Commerce\Gateways\Square\Merchant B

Total Complexity 80
Dependencies 6
Dependents 17
Total lines 733
Lines of code 275
Logical lines of code 146
Comment lines 345
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
fetch_merchant_data()
A
42 15 53
check_account_status()
S
52 7 25
is_connected()
S
59 5 16
get_locations()
S
61 4 12
get_merchant_name()
S
63 3 11
get_merchant_email()
S
63 3 11
get_merchant_country()
S
63 3 11
get_client_id()
S
68 3 7
get_code_verifier()
S
75 2 4
update()
S
66 2 8
generate_code_challenge()
S
67 2 7
get_refresh_token()
S
69 2 7
get_merchant_id()
S
69 2 7
get_access_token()
S
69 2 7
is_ready_to_sell()
S
79 2 3
get_client_secret()
S
81 1 3
delete_merchant_data()
S
80 1 3
is_test_mode()
S
80 1 3
get_location_id()
S
80 1 3
get_merchant_data_option_key()
S
70 1 6
delete_code_verifier()
S
80 1 3
is_active()
S
80 1 3
get_merchant_currency()
S
78 1 3
generate_code_verifier()
S
72 1 5
unset_merchant_deauthorized()
S
80 1 3
set_merchant_deauthorized()
S
79 1 3
is_merchant_deauthorized()
S
79 1 3
unset_merchant_unauthorized()
S
80 1 3
set_merchant_unauthorized()
S
79 1 3
is_merchant_unauthorized()
S
79 1 3
delete_signup_data()
S
71 1 6
save_signup_data()
S
75 1 4
to_array()
S
69 1 7
get_account_id()
S
81 1 3
get_whodat_signature()
S
75 1 4
get_signup_data_key()
S
72 1 5
get_account_key()
S
75 1 4
is_currency_matching()
S
78 1 3